package org.wisigoth.chat.client.mockup;

import org.wisigoth.chat.client.Avatar;
import org.wisigoth.chat.client.Contact;
import org.wisigoth.chat.client.Presence;
import org.wisigoth.chat.client.WisigothUser;

/**
 * Mockup implementation of Contact Interface
 * 
 * @author dtfs-tof
 * 
 */
public class ContactMockUp implements Contact {

	private WisigothUser username;
	private Presence presence;
	private AvatarMockUp avatar;

	public ContactMockUp(WisigothUser username, Presence presence,
			AvatarMockUp avatar) {
		this.username = username;
		this.presence = presence;
		this.avatar = avatar;

	}

	/**
	 * This method return the presence of a contact
	 * 
	 * @return {@link Presence}
	 */
	public Presence getPresence() {
		return this.presence;
	}

	/**
	 * This method return the username of a contact
	 * 
	 * @return username
	 */
	public WisigothUser getUser() {
		return this.username;
	}

	/**
	 * This method return the presence of a contact
	 * 
	 * @return avatar
	 */
	public Avatar getAvatar() {

		return this.avatar;
	}

}
